package com.xiaozhu.common.list.adapters;

import android.content.Context;
import android.view.View;

import com.xiaozhu.common.R;
import com.xiaozhu.common.list.viewholder.ListViewHolder;
import com.xiaozhu.library.adapters.BaseRecyclerAdapter;
import com.xiaozhu.library.entity.BaseEntity;

/**
 * @说明
 * @作者 LY
 * @时间 2017/12/20 15:16
 * @邮箱 2743569843@qq.com
 * @版权 Copyright(c) 2017 LY-版权所有
 * @备注
 */
public class ListAdapter extends BaseRecyclerAdapter<ListViewHolder, BaseEntity> {
    public ListAdapter(Context context) {
        super(context);
    }

    @Override
    public ListViewHolder createView(View convertView, int viewType) {
        return new ListViewHolder(convertView, viewType);
    }

    @Override
    public void bindData(ListViewHolder holder, BaseEntity baseEntity, int position) {

    }

    @Override
    public int getLayoutResID(int viewType) {
        return R.layout.common_list_item;
    }
}
